package com.tinyengine.it.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tinyengine.it.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 接口项目信息
 *
 * @TableName i_api_projects
 */
@TableName(value = "i_api_directory")
@Data
public class ApiDirectory extends BaseEntity {

    /**
     * 名称
     */
    private String name;
    private Integer type;
    private String code;

    /**
     * 上级
     */
    @Schema(description = "父级ID")
    private Integer parentId;
    private Integer appId;

    /**
     * 描述
     */
    private String description;
}